import asyncio


async def say_after(delay, what):
    await asyncio.sleep(delay)
    print(what)


async def func1():
    print(1)
    await asyncio.sleep(2)
    print(2)


async def func2():
    print(3)
    await asyncio.sleep(2)
    print(4)


if __name__ == '__main__':
    # tasks = [func1(), func2()]
    asyncio.run(func1())
    asyncio.run(func2())
